package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.domain.Sale;
import cn.ujn.medicalbackend.request.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author Drink
* @description 针对表【sale】的数据库操作Service
* @createDate 2024-10-25 20:44:25
*/
public interface SaleService extends IService<Sale> {
    Page<Sale> salePageTransfer(Page<Sale> tempPage);
    long addSale(SaleAddRequest saleAddRequest, HttpServletRequest request);
    boolean updateSale(SaleUpdateRequest saleUpdateRequest, HttpServletRequest request);
    boolean deleteSale(SaleDeleteRequest saleDeleteRequest, HttpServletRequest request);
}
